package com.book;

import java.awt.Button;
import java.awt.Checkbox;
import java.awt.List;
import java.awt.Scrollbar;

import javax.swing.JFrame;

public class PgnDemo extends JFrame {
	private static final long serialVersionUID = -851969999991397091L;

	public static void main(String[] args) {
		new PgnDemo().setVisible(true);
	}

	/**
	 * Create the frame.
	 */
	public PgnDemo() {
		setTitle("\u68CB\u8C31\u6F14\u793A\u7A97\u53E3");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 763, 587);
		getContentPane().setLayout(null);

		Button button = new Button("New button");
		button.setBounds(106, 59, 76, 23);
		getContentPane().add(button);

		Checkbox checkbox = new Checkbox("New check box");
		checkbox.setBounds(94, 98, 101, 23);
		getContentPane().add(checkbox);

		List list = new List();
		list.setBounds(10, 127, 124, 153);
		getContentPane().add(list);

		Scrollbar scrollbar = new Scrollbar();
		scrollbar.setBounds(240, 115, 17, 165);
		getContentPane().add(scrollbar);

	}
}
